{% extends "polls/base.html" %}
{% block title %}Qustion List{% endblock %}

{% block content %}
{% if questions %}
<ul>
{% for q in questions %}
  <li><a href="{% url "polls:detail" q.pk %}">{{ q.question_text }}</a></li>
{% endfor %}
</ul>
{% else %}
No polls are available.
{% endif %}

{% endblock %}
